<?php include('scripts.php'); ?>

<link rel="stylesheet" href="/js/fancy-zoom/jquery/css/common.css" type="text/css" />
<script type="text/javascript" src="/js/fancy-zoom/jquery/js/fancyzoom.js"></script>
<script type="text/javascript" charset="utf-8">
    $(document).ready(function() {
        $('.article').fancyZoom({
            directory: "/js/fancy-zoom/jquery/images"
        });
    });
</script>
<style type="text/css">
    td.caption {
        background: none repeat scroll 0 0 #D9D9D9;
        border: 1px solid #FFFFFF;
        padding: 5px;
        width: 150px;
    }

    td.value {
        background: none repeat scroll 0 0 #E9E9E9;
        border: 1px solid #FFFFFF;
        padding: 5px;
    }
    .article {
        font-size: 16px;
    }
</style>
<script type="text/javascript">
    $(function() {

    });
</script>

<div id="sub_title" class="highlight"><span class="taller red"></span>

    <p style="font-size: 16px; font-weight: bold;"><?php echo __('Core Capital Hints'); ?></p></div>

<table cellpadding="0" cellspacing="0">
    <tr>
        <td width="15px" style="min-height: 600px;">&nbsp;</td>
        <td>



<table cellpadding="0" cellspacing="0">
<tbody>
<tr>
    <td><br>
        <?php if ($sf_flash->has('successMsg')): ?>
        <div class="ui-widget">
            <div style="margin-top: 10px; margin-bottom: 10px; padding: 0 .7em;"
                 class="ui-state-highlight ui-corner-all">
                <p style="margin: 10px"><span style="float: left; margin-right: .3em;"
                         class="ui-icon ui-icon-info"></span>
                    <strong><?php echo $sf_flash->get('successMsg') ?></strong></p>
            </div>
        </div>
        <?php endif; ?>
        <?php if ($sf_flash->has('errorMsg')): ?>
        <div class="ui-widget">
            <div style="margin-top: 10px; margin-bottom: 10px; padding: 0 .7em;"
                 class="ui-state-error ui-corner-all">
                <p style="margin: 10px"><span style="float: left; margin-right: .3em;"
                         class="ui-icon ui-icon-alert"></span>
                    <strong><?php echo $sf_flash->get('errorMsg') ?></strong></p>
            </div>
        </div>
        <?php endif; ?>

    </td>
</tr>
<tr>
    <tr>
        <br>
            <?php
                $i = 1;
                foreach ($mlmArticles as $mlmArticle) {
            ?>
                &nbsp;<a class="article" href="#content_box_<?php echo $mlmArticle->getArticleId(); ?>"><?php echo $i++; ?>. [<?php echo $mlmArticle->getArticleCategory(); ?>]&nbsp;<?php echo $mlmArticle->getArticleTitle(); ?></a><br>

                <div id="content_box_<?php echo $mlmArticle->getArticleId(); ?>">
                    <h2><?php echo $mlmArticle->getArticleTitle(); ?></h2>
                    <br>
                    <?php echo $mlmArticle->getArticleContent(); ?>
                </div>
            <?php } ?>
    </tr>
</tr>
</tbody>
</table>

<div class="info_bottom_bg"></div>


    <td width="15px">&nbsp;</td>
    </tr>
</table>